<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/ESF.General.Entity" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ESF.General.Entity" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="BaseEnterprise">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BasicReference">
        <xs:sequence>
          <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IdentificationNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IdentificationType" nillable="true" type="tns:BasicReference" />
          <xs:element minOccurs="0" name="IdentificationVerificationDigit" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="LegalRepresentative" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Type" nillable="true" type="tns:BasicReference" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BaseEnterprise" nillable="true" type="tns:BaseEnterprise" />
  <xs:complexType name="BasicReference">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BaseEntity">
        <xs:sequence>
          <xs:element minOccurs="0" name="BasicReferenceTypeID" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CreationDateTime" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Extra_I" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Extra_II" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Extra_III" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ID" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="IsEnabled" nillable="true" type="xs:boolean" />
          <xs:element minOccurs="0" name="LastUpdateDateTime" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Order" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="UserCreationAlias" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="UserLastUpdateAlias" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BasicReference" nillable="true" type="tns:BasicReference" />
  <xs:complexType name="BaseEntity">
    <xs:sequence>
      <xs:element minOccurs="0" name="calRowIndex" type="xs:int" />
      <xs:element minOccurs="0" name="calVirtualRowCount" type="xs:int" />
      <xs:element minOccurs="0" name="filSelected" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BaseEntity" nillable="true" type="tns:BaseEntity" />
  <xs:complexType name="ArrayOfBaseEnterprise">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BaseEnterprise" nillable="true" type="tns:BaseEnterprise" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBaseEnterprise" nillable="true" type="tns:ArrayOfBaseEnterprise" />
</xs:schema>